<?php
class main extends spController{
	function index(){
		$this -> users_id = spClass('spICase') -> get();
		$this -> display('main_index.html');
	}
	
	function logout(){
		session_destroy();
		$this -> success('退出成功',spUrl());
	}
}